//
// RTL: Buttons
// --------------------------------------------------

.btn.btn-labeled {
  position: relative;

  .btn-label {
    border-radius: 0; 
    float: right;
    margin-left: 12px;
    margin-right: -13px;
    @include border-right-radius($border-radius-base);
  }

  // Sizes
  //

  &.btn-lg {
    .btn-label {
      margin-left: 18px;
      margin-right: -19px;
      @include border-right-radius($border-radius-large);
    }
  }

  &.btn-sm {
    .btn-label {
      margin-left: 9px;
      margin-right: -10px;
      @include border-right-radius($border-radius-small);
    }
  }

  &.btn-xs {
    .btn-label {
      margin-left: 9px;
      margin-right: -8px;
      @include border-right-radius($border-radius-small);
    }
  }
}

.btn.btn-rounded.btn-labeled .btn-label,
.btn.btn-lg.btn-rounded.btn-labeled .btn-label,
.btn.btn-sm.btn-rounded.btn-labeled .btn-label,
.btn.btn-xs.btn-rounded.btn-labeled .btn-label {
  border-radius: 0;
  @include border-right-radius(9999px);
}
